|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This class represents the LEAP version of a "List"
(J2SE)| Method Summary | |
void |
clear()
Removes all of the elements from this list (optional operation). |
boolean |
contains(java.lang.Object o)
Returns true if this list contains the specified element. |
java.lang.Object |
get(int index)
Returns the element at the specified position in this list. |
int |
indexOf(java.lang.Object o)
Returns the index in this list of the first occurrence of the specified element, or -1 if this list does not contain this element. |
java.lang.Object |
remove(int index)
Removes the element at the specified position in this list. |
| Methods inherited from interface jade.util.leap.Collection |
add,
isEmpty,
iterator,
remove,
size,
toArray |
| Method Detail |
public void clear()
public boolean contains(java.lang.Object o)
o - element whose presence in this list is to be tested.public java.lang.Object get(int index)
index - index of element to return.public int indexOf(java.lang.Object o)
o - element to search for.public java.lang.Object remove(int index)
index - the index of the element to removed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||